package com.cpit.platform.service;

import java.util.List;

import com.cpit.platform.common.entity.TableDataQueryCondition;
import com.cpit.platform.common.entity.TableJsonData;
import com.cpit.platform.dto.Organization;

public interface OrganizationService {
	Organization findById(Integer id);
	List<Organization> findAll();
	void create(Organization auth) throws Exception;
	public void modify(Organization data) throws Exception;
	void delete(Organization auth) throws Exception;
	String findCodeById(int id);
	List<Organization> findByConditionForTree(int page, int size, String order, String orderBy, String orgName, String orgIdCondition);
	List<Organization> findByConditionForTreeWithoutSecurity(int page, int size, String order, String orderBy, String orgName, String orgIdCondition);
	List<Organization> findByCondition(int page, int size, String order, String orderBy, String orgName, String orgIdCondition);
	@SuppressWarnings("rawtypes")
	public TableJsonData findByConditionJqg(TableDataQueryCondition cond);
}
